package com.song.service.user;

import com.baomidou.mybatisplus.service.IService;
import com.song.common.Result;
import com.song.entity.user.User;

import java.util.List;


public interface UserService extends IService<User> {

    Result<List<User>> queryUserList(String account, String name, String phone, int pageNum, int pageSize);

    Result<Integer> deleteUserById(int id);

    Result<Integer> addUser(User user);

    Result<Integer> batchDel(String[] ids);

    Result<Integer> updateUserName(String name, int id);

    Result<Integer> updateUser(User user);

}
